package org.museum.api.client;


import org.museum.api.domain.Action;
import org.museum.api.util.CommonResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;


@FeignClient(name = "action-service", path = "/action")
public interface ActionCommonClient {
    @GetMapping("/getActionById/{id}")
    CommonResponse<Action> getActionById(@PathVariable Integer id);
}
